package com.copm.ifm.common.process.entity.excute;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.copm.ifm.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 流程运行回复表
 *
 * @author zzf
 * @since 2019-04-12
 */
@Getter
@Setter
@TableName("wf_process_execute_reply")
@ApiModel("流程运行回复表")
public class ProcessExecuteReply extends BasePO {

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("流程id")
    private Long processId;

    @ApiModelProperty("流程节点id")
    private Long processPointId;

    @ApiModelProperty("流程运行id")
    private Long processExecuteId;

    @ApiModelProperty("流程运行节点用户表id")
    private Long processExecuteUserId;

    /**
     * @see com.copm.ifm.common.process.core.emum.OperationTypeEnum
     */
    @ApiModelProperty("操作类型 1：通过 2：驳回 3：回退")
    private Integer operationType;

}
